<?php

namespace app\api\controller;
use  app\common\controller\DBase;
use app\api\logic\SendEmailLogic;
class SendEmail extends DBase
{


    /**
     * @desc   获取fb广告
     * @author luckyXiong
     * @date   2025-04-24
     */
    public function get_fb_price(){
        $params     = $this->request->get();
        (new SendEmailLogic())->get_fb_price();
        return  $this->jsonMessage(200,true,'操作成功!',null);
    }




    /**
     * @desc   邮件发送
     * @author luckyXiong
     * @date   2025-04-24
     */
    public function send_email(){
        $params     = $this->request->post();
        $content    = $params['content']??'';
        (new SendEmailLogic())->send_email($content);
        return  $this->jsonMessage(200,true,'操作成功!',null);
    }



}